</div> 
<script src="{$AppJsURL}ckeditor/ckeditor.js"></script>
<script src="{$AppJsURL}ckeditor/adapters/jquery.js"></script>
<form method="POST" name="uidesigner">
    <table>
        <tr>
            <td>
                {include file="formelements/select.tpl" inputDetails=$content_details_array.formelements.tablenames}
            </td>
        </tr>
        <tr>
            <td>
                {include file="formelements/textarea.tpl" inputDetails=$content_details_array.formelements.afterwrite}
            </td>
        </tr>
    </table>
</form>
{literal}
    <script>
        $(function(){
   
        $('textarea').ckeditor(function(){},{height:'450px',width:'1100px',toolbar :
		[
			{ name: 'basicstyles', items : ['Cut','Copy','Paste','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','Bold','Italic','Underline' ,'RemoveFormat','Undo','Redo','Scayt',] },
			{ name: 'htmlentities', items : ['Table','Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ,'Image','Flash','Table','HorizontalRule','Link','Unlink','Anchor','CreateDiv'] },
			{ name: 'tools', items : [ 'Maximize' ,'-','Clipboard'] },
                            { name: 'styles',		items : [ 'Styles','Format','Font','FontSize','Templates','TextColor','BGColor' ] }
		]});
                
    });    
    </script>
{/literal}